/*
 * =====================================================================================
 *
 *       Filename:  Dealer.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  10/25/11 11:42:48
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  LittleQ Su (), 98703060@nccu.edu.tw
 *        Company:  National Chengchi University, The Department of Computer Science
 *
 * =====================================================================================
 */
#ifndef _DEALER_H_
#define _DEALER_H_

#define DECK_MAX 52
#define RAND_TIME 400
#define SUIT_MAX 4
#define RANK_MAX 13

#include "Card.h"


class Dealer {
    public:
        // Constructor
        Dealer();

        void Shuffle();
        Card dealCard();

    

    private:
        Card cards[DECK_MAX];
        int index;

        void _swapCard(int idx1, int idx2);
        Card::Suit _getSuit(int num);
};

#endif
